<?php

namespace app\model;

use think\Model;

class CollectForms extends Model
{

    protected $connection = 'mysql';

    protected $pk = 'id';

    protected $name = 'collect_forms';

    public static function conversion($vo)
    {
        if (!empty($vo['uid'])) {
            $vo['username'] = Member::get_name($vo['uid']);
        }
        $vo = RegisterField::conversion($vo);
        return $vo;
    }
}
